home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
Aminet
/
text
/
edit
/
tecoc-146.lha
/
execln.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-05
|
900b
|
30 lines
/*****************************************************************************
ExeCln()
This function handles the colon and double-colon modifiers.
This function implements the modifiers by setting bits in the
CmdMod variable. Commands which are sensitive to colon or double colon
modification check CmdMod explicitly.
*****************************************************************************/
#include "zport.h" /* define portability identifiers */
#include "tecoc.h" /* define general identifiers */
#include "defext.h" /* define external global variables */
DEFAULT ExeCln() /* execute : or :: modifiers */
{
DBGFEN(1,"ExeCln",NULL);
if (CmdMod & COLON) { /* if colon bit is set */
CmdMod &= ~COLON; /* clear colon bit */
CmdMod |= DCOLON; /* set double-colon bit */
} else {
CmdMod |= COLON; /* set colon bit */
}
DBGFEX(1,DbgFNm,"SUCCESS");
return SUCCESS;
}